#ifndef CIMAGEALGORITHM_H
#define CIMAGEALGORITHM_H

#include <QObject>

class CImageAlgorithm : public QObject
{
    Q_OBJECT
public:
    explicit CImageAlgorithm(QObject *parent = nullptr);

    //查找图中像素连续相同的最多行并返回行数
    static int findMaxConsecutiveRows(QPixmap &pixmap);

    static QRect findDifference(const QStringList &imageList);

};

#endif // CIMAGEALGORITHM_H
